Collecting Cyclic Garbage across Foreign Function Interfaces: Who Takes the Last Piece of Cake?

نویسندگان

چکیده

A growing number of libraries written in managed languages, such as Python and JavaScript, are bringing about new demand for a foreign language interface (FFI) between two languages. Such an FFI allows host-language program to seamlessly call library function exchange objects. It is often implemented by user-level but implementation cannot reclaim cyclic garbage, or group objects with circular references, across the boundary. This paper proposes Refgraph GC , which enables that can garbage. coordinates garbage collectors languages it needs modify runtime one only. does not other language. discusses soundness completeness proposed algorithm also shows results experiments our GC. Ruby access JavaScript library.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Foreign-Function Interfaces for Garbage-Collected Programming Languages

Programs in high-level, garbage-collected programming languages often need to access libraries that are written in other programming languages. A foreign-function interface provides a high-level language with access to low-level programming languages and negotiates between the inside and the outside world by taking care of the low-level details. In this paper, I provide an overview of what diff...

متن کامل

A piece of cake.

I n the past year or so, I have devoted a lot of time to compiling manuscripts that incorporate outputs from genome-wide screens or profiles, which has required a lot of manual inspection of database entries. While those who work in computational biology may groan and advise me to let data-mining tools do the work—and do it more accurately, comprehensively, and objectively—I feel I have learned...

متن کامل

The gastrointestinal system: a piece of cake.

PHYSIOLOGY TEACHING often comprises of a large percentage of didactic lectures. A 1-h didactic lecture is often much longer than the average attention span of most students (2). It is preferable to use different methods to decrease the possible monotony of the didactic lecture (1). This is even more important when the topic being discussed has a greater number of facts that require memorizing. ...

متن کامل

Cake-Cutting Is Not a Piece of Cake

Fair cake-cutting is the division of a cake or resource among N users so that each user is content. Users may value a given piece of cake differently, and information about how a user values different parts of the cake can only be obtained by requesting users to “cut” pieces of the cake into specified ratios. One of the most interesting open questions is to determine the minimum number of cuts ...

متن کامل

Cake Cutting Really is Not a Piece of Cake and Balanced Allocations of Cake

From 24.06. to 29.06.2007, the Dagstuhl Seminar 07261 Fair Division was held in the International Conference and Research Center (IBFI), Schloss Dagstuhl. During the seminar, several participants presented their current research, and ongoing work and open problems were discussed. Abstracts of the presentations given during the seminar as well as abstracts of seminar results and ideas are put to...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2023

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3591244